import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import App from './App.tsx'
import i18n from '@/i18n/i18n'; 
import { LanguageProvider } from '@/contexts/LanguageContext';
import { I18nextProvider } from 'react-i18next';
import 'default-passive-events';
import { App as AntdApp, message } from 'antd';
createRoot(document.getElementById('root')!).render(
  <StrictMode>
    <LanguageProvider>
      <I18nextProvider i18n={i18n}>
        <AntdApp>
          <App />
        </AntdApp>
      </I18nextProvider>
    </LanguageProvider>
  </StrictMode>,
)
